<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="sec"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Upload CV</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript">
	window.jQuery || document.write('<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery/jquery-2.1.3.js"><\/script>')
</script>
</head>
<body>

<form:form action="${pageContext.request.contextPath}/agents/upload-cv" method="POST" commandName="agentUploadCvDto" enctype="multipart/form-data">
	<form:label path="cvFile">CV file</form:label>
	<input type="file" name="cvFile" accept="application/pdf"></input>
	<form:errors path="cvFile"></form:errors> 
	<br>
	<input type="Submit">
</form:form>

</body>
</html>